package org.jeecg.modules.user.member.dto;

/**
 * Description: 常量
 * Date: 2021-02-27 11:07
 **/

public class Const {

    // 存储token => 用户信息的键，类型hash
    public static final String AccessToken = "ACCESS_TOKEN";

    // 存储id => token的键类型,为hash
    public static final String IdToken = "ID_TOKEN";


    // 响应头
    public static final String Header = "application/json;charset=UTF-8";

    // 分页默认条数
    public static final int pageSize = 10;

    // 存储 mobile => 验证码的键，类型hash
    public static final String SmsCode = "SMS_CODE";

    // 订单物流查询 缓存
    public static final String express = "_EXPRESS";

    // 上门取件 商品售后 物流缓存
    public static final String returnExpress = "_RETURN_EXPRESS";

    // 申请售后/退款 去重复请求 缓存
    public static final String applySaleSafety = "_APPLY_SALE_SAFETY";

    // 推送消息队列
    public static final String PushQueue = "PUSH_QUEUE";

    public static final String UserToken = "user_token:";

    public static final String UserId = "userId:";

}
